@charset "utf-8";
@import "main.less";
body{
  .margin();
  .padding();
  background-color: @bodyColor;
}
#main{
  width: 100%;
  height: 100%;
  min-width: 400px;
  min-height:400px;
}
#main div{
  float: left;
}
.main_serach{
  width: 99.1%;
  height: 30px;
  background-color: white;

  & div:first-child{
    width: 100px;
    font-size: 1.5rem;
    text-align: center;
  }
  & div:last-child{
    .padding(1px);
    .margin(2.5px);
    .radius(10px);
    border: 1px solid @infoColor;
  }
  & input{
    width: 90%;
    border: none;
    outline: none;
    position: relative;
    top: -2px;
    left: 5px;
  }
}
.main_all{
  display: flex;
  width: 100%;
  height: 94.8%;
  min-width: 600px;
}
.main_left{
  flex: 1;
  max-width: 100px;
  min-width: 100px;
  width: 10%;
  height: 100%;
  background-color: #EBEBF9;
  overflow: hidden;
  /*定义滚动条高度及背景 高宽分别对应横竖滚动条尺寸*/
  &:hover{
    overflow-y: scroll;
    &::-webkit-scrollbar{
      width: 5px;
      height: 5px;
      background-color: rosybrown;
    }
    /*定义滚动条轨道，内阴影*/
    &::-webkit-scrollbar-track{
      background-color: #f5f5f5;
    }
    /*定义滑块内阴影+圆角*/
    &::-webkit-scrollbar-thumb{
      -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
      background-color: @infoColor;
    }
  }
  & div{
    width: 95px;
  }
  & ul{
    .ul_BaseStyle();
    .padding(5%);
    position: relative;
    &:first-child{
      background-color:@bodyColor;
    }
    &:hover{
      li:last-child{
        display: block;
        background-color: #333333;
        &:hover img{
          background-color: red;
        }
      }
    }
    li:last-child{
      display: none;
      img{
        width: 15px;
        height: 15px;
        position: absolute;
        left: 75px;
        top: 5px;
        border-radius: 50%;
        background-color: @contentColor;
      }
    }
  }
  & img{
    width: 70%;
    height: 50%;
    border-radius: 100%;
  }
}
.main_conter{
  flex: 4;
  width: 70%;
  height: 100%;
  background-color: gold;
}
.main_right{
  max-width: 200px;
  min-width: 200px;
  width: 19%;
  height: 100%;
  background-color: white;
  border-left:1px solid @infoColor;
}
.main_conter_top{
  width: 100%;
  height: 70%;
  clear: both;
  background-color: white;
  border-bottom: 1px solid @infoColor;
  & img{
    width: 50px;
    height: 50px;
  }
  //& div{
  //  clear: both;
  //}
  & .main_conter_top_content{
    width: 100%;
    height: 100%;
    display: none;
    &:first-child{
      display: block;
    }
    overflow-y: scroll;
    .main_conter_top_content_position{
      width: 100%;
      margin-top: 30px;
    }
    &::-webkit-scrollbar{
      width: 5px;
      height: 5px;
      background-color: rosybrown;
    }
    /*定义滚动条轨道，内阴影*/
    &::-webkit-scrollbar-track{
      background-color: #f5f5f5;
    }
    /*定义滑块内阴影+圆角*/
    &::-webkit-scrollbar-thumb{
      -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
      background-color: @infoColor;
    }
    .main_conter_top_content_size_content{
      width: 65%;
      .radius(10px);
    }
    & .main_conter_top_content_myself{
      width:98%;
      .main_conter_top_content_img{
        img{
          position: relative;
          top: -25px;
          .radius(50%);
        }
      }
      .main_conter_top_content_size{
        width: 50%;
        position: relative;
        .main_conter_top_content_size_content{
          div{
            padding: 10px;
            position: relative;
            background-color: #6F729B;
            color: white;
            border-radius: 10px ;
            img{
              position: absolute;
              left: -25px;
              bottom: 40%;
              width: 25px;
              height: 25px;
              border-radius: 50%;
            }
          }
        }
      }
      .main_conter_top_content_text{
        color: white;
        background-color: #A593E0;
      }
    }
    & .main_conter_top_content_user{
      width: 445px;
      margin-right: 40%;
      .main_conter_top_content_img{
        position: relative;
        top: -25px;
        img{
          .radius(50%);
        }
      }
      .main_conter_top_content_size{
        width: 100%;
        margin-left: 5%;
        .main_conter_top_content_size_content{
          div:first-child{
            padding: 10px;
            background-color: #F0F0FA;
            .radius(10px);
          }
          div:last-child{
            position: relative;
            img{
              width: 25px;
              height: 25px;
              background-color: red;
              border-radius: 50%;
              position: absolute;
              right: -25px;
            }
          }
        }

      }
    }
  }
}
.main_conter_bottom{
  width: 100%;
  height: 30%;
  background-color:white;
}
.main_right{
  flex: 1;
}
.main_right ul{
  .ul_BaseStyle();
  padding: 10px;
  li:nth-child(2){
    margin-left: 12px;
    color: #7e8e99;
    font-size: 10px;
  }
}
.main_right_user{
  margin-top: 20%;
}
.main_right_user div{
  img{
    width: 50%;
    height: 75px;
    border-radius: 50%;
  }
  width: 100%;
}
.main_conter_bottom{
  .main_conter_bottom_icon{
    width: 90%;
    height: 30px;
    margin-left: 5%;
    ul{
      float: left;
      .ul_BaseStyle();
      li{
        float: left;
        padding: 5px;
        img{
          width: 25px;
          height: 25px;
        }
      }
    }
    ul:last-child{
      float: right;
    }
  }
}
.main_conter_bottom_content{
  clear: both;
  position: relative;
  width: 99%;
  height: 86%;
  textarea{
    width: 100%;
    height: 50%;
    border: none;
    outline:none;
    font-size: 20px;
  }
  button{
    position: absolute;
    right: 50px;
    .btn_default(fill,75px,35px);
    &:hover{
      background-color:#66ccff;
      cursor: pointer;
    }
  }
}
